import React, { memo } from "react";
import HeaderLeftWrapper from "./style";
import IconLogo from "@/assets/svg/icon_logo";
import { useNavigate } from "react-router-dom";

export default memo(function HeadeLeft() {
  const navigate = useNavigate();
  return (
    <HeaderLeftWrapper>
      <div onClick={() => navigate("/home")} className="logo">
        <IconLogo />
      </div>
    </HeaderLeftWrapper>
  );
});
